import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Button,NavBar,Popover,Icon,Field,Notify,Cell,CellGroup,Form,Switch,Col,Row,Toast,Area,Popup,NoticeBar } from 'vant'
import axios from 'axios'
import VueAxios from 'vue-axios'

axios.defaults.baseURL = '/api/autocard/'
createApp(App).use(store).use(router).use(VueAxios, axios)
.use(Button).use(NavBar).use(Popover).use(Icon).use(Field).use(Notify).use(Cell)
.use(CellGroup).use(Form).use(Switch).use(Col).use(Row).use(Toast).use(Area).use(Popup).use(NoticeBar)
.mount('#app')